package com.amir.common.utils;

import android.content.Context;

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import java.util.TreeMap;

public class Constant {

    public static Context mContext = null;

    public static String Nickname = "nickname";
    public static String Avatar_url = "Avatar_url";
    public static String User_id = "user_id";
    public static final int PAGESIZE = 10;
    @NotNull
    public static final String code = "code";
    public static final String AccessToken = "AccessToken";

    @NotNull
    public static final String address = "address";//地址
    @NotNull
    public static final String realName = "realName";//真是姓名
    @NotNull
    public static final String read_splash = "true";
    @NotNull
    public static final String read_privacy = "read_privacy";
    @NotNull
    public static final String city = "city";//城市
    public static final String CmpyName = "CmpyName";//城市
    public static final String CmpyCode = "CmpyCode";//城市
    public static final String CmpyCatg = "CmpyCatg";//公司类别
    @NotNull
    public static final String phone = "phone";//手机号
    @NotNull
    public static final String balance = "banlance";
    @Nullable
    public static String file = null;
    @NotNull
    public static final String accountid = "accountid";
    public static final String accountName = "accountName";
    public static final String nonceStr = "nonceStr";
    public static final String encodePassword = "encodePassword";
    @NotNull
    public static final String accoun = "account";
    @NotNull
    public static final String pwd = "pwd";
    @NotNull
    public static final String Refresh_token = "refresh_token";
    @NotNull
    public static final String SmsId = "SmsId";
    @NotNull
    public static final String Latitude = "Latitude";
    @NotNull
    public static final String Longitude = "Longitude";
    @NotNull
    public static final String Accuracy = "Accuracy";
    @NotNull
    public static final String APPId = "AppId";
    @NotNull
    public static final String TemplateCode = "TemplateCode";

    @NotNull
    public static final String WX_APP_ID = "wx81640858a72662cf";
    public static final String TencentMapSDK_KEY = "7SCBZ-JC3WD-PHA45-HDZ7Q-DY5AH-NPBYQ";

    @NotNull
    public static final TreeMap<String, Object> orderStatus = new TreeMap<>();

    public static Context getmContext() {
        return mContext;
    }

    public static void setmContext(Context mContext) {
        Constant.mContext = mContext;
    }

    public static void initContentx(@Nullable Context applicationContext) {
        mContext = applicationContext;
    }
}
